<template>
  <div>
    <BigScreenTitle1></BigScreenTitle1>
<!--    <el-carousel indicator-position="none" arrow="never" type="card" @change="change">-->
<!--      <el-carousel-item-->
<!--        v-for="item in 3"-->
<!--        :key="item"-->
<!--        style="background-color: rgba(255,255,255,0)"-->
<!--      >-->
<!--        <div-->
<!--          :class="{leftClass:item-1 === left,rightClass:item-1===right}"-->
<!--          style="width: 100%;height: 100%;-->
<!--background-color: red">{{ item }}-->
<!--        </div>-->
<!--      </el-carousel-item>-->
<!--    </el-carousel>-->
<!--    <div class="leftClass" style="width: 400px;height: 300px;background-color: black;color: white">-->
<!--      555-->
<!--    </div>-->
  </div>
</template>

<script>
import BigScreenTitle1 from '@/components/BigScreen/Title1/index.vue'
export default {
  name: "BigScreenTitle1View",
  components:{
    BigScreenTitle1
  },
  data() {
    return {
      left:0,
      right:2,
    }
  },
  methods:{
    change(index) {
      this.left = index - 1
      this.right = index + 1
      if (this.left < 0) {
        this.left = 2
      }
      if(this.right>2) {
        this.right = 0
      }
      console.log(this.left,index,this.right)
    }
  }
}
</script>

<style scoped lang="scss">
.el-carousel__item h3 {
  color: #475669;
  font-size: 14px;
  opacity: 0.75;
  line-height: 200px;
  margin: 0;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n+1) {
  background-color: #d3dce6;
}
.leftClass{
  //transform: rotate3d(0,0,0,-45deg);
  transform-origin: left;
  transform: rotateY(45deg) scale3d(1,1.2,1);
}
.rightClass{
  transform: rotateZ(-45deg);
}
</style>
